<?php
$command = $argv[1] ?? 'test';
$client = new Swoole\Client(SWOOLE_SOCK_TCP);
if (!$client->connect('127.0.0.1', 95, -1)) {
    exit("connect failed. Error: {$client->errCode}\n");
}
$client->send($command);
echo $client->recv();
$client->close();
